#include "server.h"
#include "log.h"
#include "mod_ftp.h"
#include "mod_media.h"

int main(int argc, char *argv[])
{
  Server server;
  Log::Info("WAN ip address: %s", server.GetAddress().c_str());
  server.AddModule(new FTPModule());
  server.AddModule(new MediaModule());
  server.Start();
  while(true)
    ;
	return 0;
}

